package STUDENT.TRINHQUANGXUANDUC.OPPS.CHUNGKHOAN;

import java.util.Scanner;

public class Views {
	public static void main(String[] args) {
		Controllers tControllers = new Controllers();
		TyGiaObject object = new TyGiaObject();
		Scanner sc = new Scanner(System.in);
		System.out.println("Nhap gia tri phien giao dich truoc");
		object.setPreviousClosingPrice(sc.nextDouble());
		System.out.println("Nhap gia tri hien tai");
		sc = new Scanner(System.in);
		object.setCurrentPrice(sc.nextDouble());
		System.out.println("chung khoan " + object.getSymbol() + " da thay doi " + tControllers.TyGia(object) + " %");
	}
}
